home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
Xteq X-Setup
/
xqdcXSP-Setup-EN.exe
/
{app}
/
plugins
/
XQ Recent Doc Activate 1.xpl
< prev
next >
Wrap
Text File
|
2004-02-08
|
1KB
|
42 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="Appearance\Start menu\Common"
"NAME"="Recent Documents (Activated)"
"VERSION"="3.04"
"LANGUAGE"="VBScript"
"OSVERSION"="0001111"
"TEXT 1"="Create Recent Document shortcuts"
"DESCRIPTION 1"="If you do not want that Windows creates any entries to your "Documents" menu inside the Start Menu, deactivate this option."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="Thanks to Jon-Roar Selenius [jseleniu@online.no] for spotting the "Recent Documents always empty" bug."
sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRecentDocsHistory"
SUB Plugin_Initialize
i=RegReadValue(sV1)
If IsEmpty(i) or i=0 then SetUIElement 1,true
END SUB
SUB Plugin_CheckData(ElementIndex)
END SUB
SUB Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
if RegValueExists(sV1) then
Call RegDeleteValue(sV1)
end if
else
Call RegWriteValue(sV1,1,2)
end if
Call Logoff()
END SUB
SUB Plugin_Terminate
END SUB